package com.lisheny.extendcode.http.Api;

import com.lisheny.extendcode.http.retrofit.RetrofitUtils;

/**
 * Created by Administrator on 2017/10/27.
 */

public class ApiUtils {
    private static TestApi testApi;

    // TODO: 2017/10/27 仅供使用展示
    public static TestApi getTestApi(){
        if (testApi == null){
            testApi = RetrofitUtils.getInstance().retrofit().create(TestApi.class);
        }
        return testApi;
    }
}
